<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>微博热搜</title>
    <style>
        body{
            background-color: #f1f2f5;
            margin: 0;
        }
        a{
            text-decoration: none;
        }
        .box{
            width: 240px;
            /* height: 500px; */
            margin: 50px auto;
            background-color: white;
            padding: 10px 15px;  
            cursor: pointer;
        }
        .box .header{
            height: 40px;
            /* background-color: aquamarine; */
            display: flex;
            align-items: center;
        }
        .box .header .hot{
            flex:1;
            font-size: 14px;
        }
        .box .header .sx{
            font-size: 12px;
            color: #939393;
            margin-left: 5px;
        }
        .box .news{
            height: 40px;
            /* background-color: rgb(216, 216, 82); */
            /* border-bottom: 1px solid red; */
            font-size: 12px;
            display: flex;
        }
        .box .news a{
            width: 100%;
            display: flex;
            align-items: center;
        }
        .box .news .title{
            flex: 1;
            color: #333;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .box .news .icon{
            margin-right: 10px;
            font-weight: bold;
            color: #ff9406;
            font-size: 16px;
        }
        .box .news .num{
            color: #939393;
            margin: 0 5px;
            
           
        }
        .box .news .mark{
            
            padding: 1px 2px;
            border-radius: 2px;
            color: ghostwhite;
            font-size: 10px;
        }
        .box .news:nth-child(-n+5) .icon{
            color: red;
            font-style: italic;
        }
        .ys1{
            background-color: rgb(101, 44, 44);
        }
        .ys2{
            background-color: deeppink;
        }
        .ys3{
            background-color: #ff9406;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="header">
            <span class="hot">微博热搜</span>
            <img src="img/icon-sx.png" alt="">
            <span class="sx">点击刷新</span>
        </div>
        <div class="news">
        <a href="">
            <span class="icon">
                <img src="img/icon_top.png" alt="">
            </span>
            <span class="title">中电科称痛批加班员工非集团公司员工</span>
            <span class="num">780.2万</span>
            <div class="mark ys1">热</div>
        </a>
    </div>
    <div class="news">
        <a href="">
            <span class="icon">1</span>
            <span class="title">中电科痛批加班员工中电科痛批加班员工</span>
            <span class="num">780.2万</span>
            <div class="mark ys2">爆</div>
        </a>
    </div>
    <div class="news">
        <a href="">
            <span class="icon">2</span>
            <span class="title">中电科痛批加班员工</span>
            <span class="num">780.2万</span>
            <div class="mark ys1">爆</div>
        </a>
    </div>
    <div class="news">
        <a href="">
            <span class="icon">3</span>
            <span class="title">中电科痛批加班员工</span>
            <span class="num">780.2万</span>
            <div class="mark ys3">爆</div>
        </a>
    </div>
    <div class="news">
        <a href="">
            <span class="icon">4</span>
            <span class="title">中电科痛批加班员工</span>
            <span class="num">780.2万</span>
            <div class="mark ys2">爆</div>
        </a>
    </div>
    <div class="news">
        <a href="">
            <span class="icon">5</span>
            <span class="title">中电科痛批加班员工</span>
            <span class="num">780.2万</span>
            <div class="mark ys3">爆</div>
        </a>
    </div>
    <div class="news">
        <a href="">
            <span class="icon">6</span>
            <span class="title">中电科痛批加班员工</span>
            <span class="num">780.2万</span>
            <div class="mark ys2">爆</div>
        </a>
    </div>
    <div class="news">
        <a href="">
            <span class="icon">7</span>
            <span class="title">中电科痛批加班员工</span>
            <span class="num">780.2万</span>
            <div class="mark ys1">爆</div>
        </a>
    </div>
    <div class="news">
        <a href="">
            <span class="icon">8</span>
            <span class="title">中电科痛批加班员工</span>
            <span class="num">780.2万</span>
            <div class="mark ys3">爆</div>
        </a>
    </div>
    <div class="news">
        <a href="">
            <span class="icon">9</span>
            <span class="title">中电科痛批加班员工</span>
            <span class="num">780.2万</span>
            <div class="mark ys2">新</div>
        </a>
    </div>
    <div class="news">
        <a href="">
            <span class="icon">10</span>
            <span class="title">谢娜黄丽玲曾可妮乘风破浪上班路透</span>
            <span class="num">780.2万</span>
            <div class="mark ys1">热</div>
        </a>
    </div>
    </div>
    
</body>
</html>